package com.alg.pattern.templateMethod;
/**
 * @ClassName ZhangSanFeng
 * @Author Jiayi Zheng
 * @Date 2022/10/18 10:36
 * @Description: todo
 * @Version V1.0
 */
/**
 * 具体实现类 - 张三丰
 */
public class ZhangSanFeng extends AbstractSwordsman {
    @Override
    protected void neiGong() {
        System.out.println("运行纯阳无极功");
    }

    @Override
    protected void weapons() {
        System.out.println("使用真武剑");
    }

    @Override
    protected void moves() {
        System.out.println("使用招式神门十三剑");
    }

    @Override
    protected void hook() {
        System.out.println("突然肚子不舒服，老夫要先去上厕所");
    }
}

